/**
 *
 * Copyright by Samuel Castro & Joaquim Fonseca, 2011
 * All Rights Reserved
 *
 * NOTES:
 * Please do not redistribute this plugin without my permission
 * Plugin made for private use only
 *
 */
package com.SySammy.SdBountyHunter;

import com.SySammy.SdBountyHunter.Handlers.BountyHandler;
import com.SySammy.SdBountyHunter.Handlers.PrisonHandler;
import java.util.ArrayList;
import org.bukkit.entity.Player;

public class sdLawCommandExport {

    sdLaw plugin = new sdLaw();

    public sdLawCommandExport() {
    }
    BountyHandler BH = new BountyHandler(plugin);
    PrisonHandler PH = new PrisonHandler(plugin);

    // Bounty Handler Methods
    public boolean HasBounty(String p) {
        return BH.HasBounty(p);
    }

    public void MakeBounty(String badguy, String goodguy, int bounty, String reason) {
        BH.MakeBounty(badguy, goodguy, bounty, reason);
    }

    public int GetBounty(String p) {
        return BH.GetBounty(p);
    }

    public String GetReason(String p) {
        return BH.GetReason(p);
    }

    public ArrayList<ArrayList<Object>> GetBounties() {
        return BH.GetBounties();
    }

    public void SetCaught(Player p) {
        BH.SetCaught(p);
    }

    public boolean GetCaught(String p) {
        return BH.GetCaught(p);
    }

    public String GetGoodGuy(String p) {
        return BH.GetGoodGuy(p);
    }

    public void RemoveBounty(String p) {
        BH.RemoveBounty(p);
    }
    //Prison Hander Methods

    public boolean HasPrison(String p) {
        return PH.HasPrison(p);
    }

    public void RemovePrison(String p) {
        PH.RemovePrison(p);
    }

    public void CitiesRemovePrison(Player p) {
        p.chat("/prison -r");
    }
}
